import request from '@/utils/request'

// 查询基础水价设定列表
export function listWiPriceY(query) {
  return request({
    url: '/waterPrice/WiPriceY/list',
    method: 'get',
    params: query
  })
}

// 查询基础水价设定详细
export function getWiPriceY(priceYr) {
  return request({
    url: '/waterPrice/WiPriceY/' + priceYr,
    method: 'get'
  })
}

// 新增基础水价设定
export function addWiPriceY(data) {
  return request({
    url: '/waterPrice/WiPriceY',
    method: 'post',
    data: data
  })
}

// 修改基础水价设定
export function updateWiPriceY(data) {
  return request({
    url: '/waterPrice/WiPriceY',
    method: 'put',
    data: data
  })
}

// 删除基础水价设定
export function delWiPriceY(priceYr) {
  return request({
    url: '/waterPrice/WiPriceY/' + priceYr,
    method: 'delete'
  })
}
